﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace System
{
    public static class StreamReaderExtension
    {
        public static IEnumerable<string> GetLines(this StreamReader sr)
        {
            while (!sr.EndOfStream)
                yield return sr.ReadLine();
        }
    }
}
